﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Library_Code.BIZ
{
   public class CTHD
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
       public int Id { get; set; }   
        public int IdHoaDon { get; set; }
        public int IdSanPham { get; set; }
        public int SoLuong { get; set; }
        public int GiaBan { get; set; }
        
        public int ThanhTien { get; set; }

        public virtual HOADON HOADON { get; set; }
        public virtual SANPHAM SANPHAM { get; set; }
    }
}
